package com.dhcc.sdc.base.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.impl.BaseServiceImpl;
import com.dhcc.sdc.base.dao.ContraindicationItemMapper;
import com.dhcc.sdc.base.entity.ContraindicationItemEntity;
import com.dhcc.sdc.base.entity.ContraindicationEntity;
import com.dhcc.sdc.base.service.IContraindicationItemService;
import com.dhcc.sdc.base.service.IContraindicationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 禁忌症条目表数据服务层接口
 *
 * @ClassName: ContraindicationItemServiceImpl
 * @Description: TODO
 * @author zhangjin
 * @date 2022-09-02 15:42:37
 */
@Service("contraindicationItemService")
public class ContraindicationItemServiceImpl extends BaseServiceImpl<ContraindicationItemMapper, ContraindicationItemEntity> implements IContraindicationItemService {
	@Autowired
	private IContraindicationService contraindicationService;


	@Override
	public List<ContraindicationItemEntity> page(Page<ContraindicationItemEntity> page, Map<String, Object> map) {


		List<ContraindicationItemEntity> result = this.baseMapper.page(page, map);

		return result;
	}

	@Override
	public List<ContraindicationItemEntity> pageAll(Page<ContraindicationItemEntity> page, Map<String, Object> map) {
		List<ContraindicationItemEntity> result = this.baseMapper.pageAll(page);
		return result;
	}


	@Override
	public List<ContraindicationItemEntity> list(Map<String, Object> map) {
		return this.baseMapper.list(map);
	}

	@Override
	public List<ContraindicationItemEntity> selectByEntityId(Long entityId) {
		return this.baseMapper.selectByEntityId(entityId);
	}

}
